
import {createStore , applyMiddleware} from 'redux'
import thunk from 'redux-thunk'
import {composeWithDevTools} from 'redux-devtools-extension'
import logger from 'redux-logger'

import reducers from  './reducers'
// store用来存放应用状态

// composeWithDevTools
export default  createStore(reducers,composeWithDevTools(applyMiddleware(thunk,logger)))